package com.duoli;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class MultTest {
    private MultTest() {

    }
    private static List<MultTest> multTest = new ArrayList<>();

    static {
        for (int i = 0; i < 10; i++) {
            MultTest multTest1 = new MultTest();
            multTest.add(multTest1);
        }
    }
    public static MultTest getInstance() {
        Random random = new Random();
        int i = random.nextInt();
        return multTest.get(i);
    }
}
